<?php

    /**
     * Writes XML document start
     *
     * @param       Dwoo         $dwoo
     * @param       string       $version
     * @param       string       $encoding
     * @return      string
     */
    function Dwoo_Plugin_xml(Dwoo $dwoo, $version='1.0', $encoding='UTF-8')
    {
        return '<?xml version="'. $version .'" encoding="'. $encoding .'"?>';
    }
